package com.gong.applications;


import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
@RequestMapping("/user")
@RestController
public class UserController {
    @Autowired
    private Student student;

    @RequestMapping("/student")
    @Value("user")
    public Student getStudent() {
        return student;
    }
}
